﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/MainTemplate.Master" AutoEventWireup="true" CodeBehind="ProofReaderConsole.aspx.cs" Inherits="AlexandriaPressWebsite.MasterPages.WebForm2" Async="True"%>
<asp:Content ID="Content1" ContentPlaceHolderID="mainDoc" runat="server">
    <h1>Notifications</h1>
    <p><asp:Label ID="NotificationLabel" runat="server" Text="Label"></asp:Label></p>
    <asp:Button ID="UnassignedDraftsBtn" runat="server" Text="Get a New Draft " 
        CssClass="genericButton" Visible="False" 
        onclick="UnassignedDraftsBtn_Click" />
    <asp:Button ID="FileUploadConfBtn" runat="server" Text="Submit Findings" 
        CssClass="genericButton" onclick="FileUploadConfBtn_Click" 
        Visible="False" />
    <h1>
        <asp:Label ID="headerLabel" runat="server" Text="Assigned Draft Submission" 
            Visible="False"></asp:Label></h1>        
    <asp:Label ID="recommendationLabel" runat="server" 
        Text="What do you Recommend?" CssClass="label" Visible="False" Enabled="True"></asp:Label>
    <asp:DropDownList ID="FindingsDropDown" runat="server" CssClass="primaryList" 
        OnSelectedIndexChanged="FindingsDropDown_SelectedIndexChanged" 
        Visible="False" AutoPostBack="True">
        <asp:ListItem>Approve</asp:ListItem>
        <asp:ListItem>Deny</asp:ListItem>
        <asp:ListItem Selected="True">Send Back for Editing</asp:ListItem>
    </asp:DropDownList>        
    <asp:Label ID="FindingsLabel" runat="server" Text="Your Comments: " 
        CssClass="label" Visible="False"></asp:Label>
    <textarea id="commentText" cols="20" rows="2" name="commentText" 
        runat="server" visible="False" class="textreg"></textarea><br/> 
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
        ErrorMessage="RequiredFieldValidator" ControlToValidate="commentText" 
        CssClass="validator" ValidationGroup="feedback">Feedback is required.</asp:RequiredFieldValidator>      
    <asp:Button ID="FindingsSubmitBtn" runat="server" CssClass="genericButton" 
        Text="Submit Review" onclick="FindingsSubmitBtn_Click" Visible="False" 
        ValidationGroup="feedback" />    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="formDoc" runat="server" Visible="True">
    <h1>Upload the drafts you've finished reviewing here</h1>
    <asp:Label ID="uploadLabel" runat="server" 
        Text="Please specify the file location" CssClass="label" 
        AssociatedControlID="fileUploader"></asp:Label>
    <asp:FileUpload ID="fileUploader" runat="server"  CssClass="fileUpload" />
    <br/> 
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="fileUploader" ValidationGroup="upload" CssClass="validator" Text="The field is required."></asp:RequiredFieldValidator>
    <!--<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="RegularExpressionValidator" Enabled="False" ValidationGroup="\w+.pdf$" ControlToValidate="fileUploader"></asp:RegularExpressionValidator>-->
    <asp:Label ID="messageLabel" runat="server" CssClass="label"></asp:Label>
    <asp:Button ID="uploadSubmitBtn" runat="server" Text="Upload" 
        CssClass="formButton" onclick="uploadSubmitBtn_Click" ValidationGroup="upload" />   
</asp:Content>
